* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #3498db;
    --secondary: #2ecc71;
    --accent: #e74c3c;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --text: #34495e;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* 跑步轨迹背景元素 */
.running-track {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.1;
}

.track-path {
    stroke: #3498db;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 10, 10;
}

.runner-icon {
    position: absolute;
    font-size: 24px;
    color: #e74c3c;
    animation: runAnimation 20s linear infinite;
}

@keyframes runAnimation {
    0% { transform: translate(-50px, 300px); }
    25% { transform: translate(300px, 100px); }
    50% { transform: translate(600px, 300px); }
    75% { transform: translate(300px, 500px); }
    100% { transform: translate(-50px, 300px); }
}

.container {
    width: 100%;
    max-width: 500px;
    z-index: 10;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
}

.card-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.avatar i {
    transform: scaleX(-1);
}

.card-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header p {
    opacity: 0.9;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.card-body {
    padding: 30px;
    background: white;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    position: relative;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.info-content {
    flex: 1;
}

.info-content h3 {
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
    opacity: 0.8;
}

.info-content p {
    color: var(--text);
    font-size: 18px;
    word-break: break-all;
    font-weight: 500;
}

.info-content input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid var(--primary);
    font-size: 18px;
    color: var(--text);
    outline: none;
    font-weight: 500;
    background: transparent;
}

.info-content input:focus {
    border-bottom: 2px solid var(--secondary);
}

.password-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.password-text {
    margin-right: 10px;
}

.card-footer {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.btn-edit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

.btn-save {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 176, 155, 0.3);
}

.btn-cancel {
    background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
    color: #4a5568;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(1px);
}

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 15px 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification.success {
    border-left: 5px solid #00b09b;
}

.notification.error {
    border-left: 5px solid #e74c3c;
}

.notification i {
    font-size: 24px;
}

.success i {
    color: #00b09b;
}

.error i {
    color: #e74c3c;
}

@media (max-width: 480px) {
    .card-header {
        padding: 30px 15px;
    }

    .card-body {
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .card-footer {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* 跑步主题装饰元素 */
.running-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.decoration-item {
    position: absolute;
    opacity: 0.2;
    color: var(--primary);
    font-size: 24px;
}

.decoration-item:nth-child(1) { top: 10%; left: 5%; }
.decoration-item:nth-child(2) { top: 25%; left: 90%; }
.decoration-item:nth-child(3) { top: 45%; left: 15%; }
.decoration-item:nth-child(4) { top: 65%; left: 85%; }
.decoration-item:nth-child(5) { top: 80%; left: 10%; }